﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    public const int BEGIN = 1;
    //对象级变量
    private int a = 2;
    /// <summary>
    /// 文档注释
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void Page_Load(object sender, EventArgs e)
    {
        int b = 3;  //局部变量
        //ctrl+.  提示
        Debug.Write("在Debug模式下，显示调试窗口");
        //当行注释
        /*多行注释*/
        Response.Write("常量" + BEGIN + "<br>");
        Response.Write("变量" + a + "<br>");
        for (int i = 0; i > b; i++)
        {
            //i就是块级变量
        }
    }
}